WAP to demonstrate the concept of nested loop